package com.zking.ssm.service;

import com.zking.ssm.model.HotelMember;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelMemberService {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelMember record);

    int insertSelective(HotelMember record);

    @Transactional(readOnly = true)
    HotelMember selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelMember record);

    int updateByPrimaryKey(HotelMember record);

    @Transactional(readOnly = true)
    List<HotelMember> SelectAll(HotelMember hotelMember, PageBean pageBean);
    @Transactional(readOnly = true)
    List<HotelMember> SelectStutas(HotelMember hotelMember);
}